PESetNthAlertConditionFormula

Use PESetNthAlertConditionFormula to set the condition formula for the specified Report Alert associated with the print job.

C Syntax
BOOL CRPE_API PESetNthAlertConditionFormula (short printJob,
                                         short alertN,
                                         constant char FAR * formula);
Parameters

printJob

Specifies the print job for which you want to set the Report Alert condition formula.

alertN

Specifies the Report Alert for which you want to set the Report Alert condition formula.

formula

Specifies a pointer to the string containing the condition formula to set for the Report Alert.

Returns
Remarks

The condition formula can be based on recurring records or on summary fields, but cannot be based on print-time fields, such as running totals or print time formulas. Condition formulas cannot have shared variables.

VB Syntax
Declare Function PESetNthAlertConditionFormula Lib "crpe32.dll" (ByVal 
printJob%, ByVal alertN%, formula As String) As Integer
Delphi Syntax
function PESetNthAlertConditionFormula(
   printJob : Smallint;
   alertN : Smallint;
   const formula : PCHAR) : boolean stdcall;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com